package com.bs.product.service.impl;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.bs.product.entity.Type;
import com.bs.product.mapper.TypeMapper;
import com.bs.product.service.ITypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lukang
 * @since 2022-11-05
 */
@Service
public class TypeServiceImpl extends ServiceImpl<TypeMapper, Type> implements ITypeService {

//    @Override
//    public boolean logicDelByID(long id) {
//        LambdaUpdateWrapper<Type> wrapper=new LambdaUpdateWrapper();
//        wrapper.eq(Type::getId,id).set(Type::getDeleted,"1");
//      boolean update=  update(null,wrapper);
//        return false;
//    }
}
